package cn.sixmillions.mb.sqlSession;

import java.util.List;

public interface SqlSession {

    /**
     * 查询所有
     * statementId就是namespaceid
     */
    <E> List<E> selectList(String statementId, Object... params) throws Exception;

    /**
     * 查询单个
     */
    <T> T selectOne(String statementId, Object... params) throws Exception;
}
